package com.tct.worktimeboard.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyongkui
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class WorkTask extends PageObject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String taskName;

//    private Integer groupId;

    private Integer workKindId;

    /**
     * 项目
     */
    private Integer projectId;

    /**
     * 任务开始时间
     */
    private String taskStartTime;

    /**
     * 任务结束时间
     */
    private String taskEndTime;

    /**
     * 预计工时
     */
    private BigDecimal preTime;

    /**
     * 任务描述
     */
    private String taskDescribe;

    /**
     * 任务创建时间
     */
    private String createTime;

    /**
     * 创建任务用户名
     */
    private String createUsername;

    /**
     * 创建任务用户ID
     */
    private Integer createUserId;

    /**
     * 统计使用
     */
    @TableField(exist = false)
    private BigDecimal workTime;
}
